const mutations = {

  setUserInfo(state, payload) {
    state.userInfo = payload;
  },
  // 
  cleanUserInfo(state, payload) {
    state.userInfo = payload;
    localStorage.setItem("userInfo", JSON.stringify(payload));
  },
  setLSUserInfo(state, payload) {
    state.userInfo = payload;
  },
};

export default mutations;
